#pragma once
#include "SocketStream.h"
#include "Socket.h"

class CClientSocketStream :	public CSocketStream
{
	enum
	{
		Client_Socket_Input_Buffer_Len = 64 * 1024,
	};
public:
	CClientSocketStream(int nBufferLen = Client_Socket_Input_Buffer_Len);
	~CClientSocketStream(void);

	UINT Fill(Socket *pSocket);
	UINT Flush(Socket *pSocket);

	int Send(Socket *pSocket, int nLen);
	int Receive(Socket *pSocket, int nLen);
};

